<?php

// 安装第三方包

composer update --with-dependencies laravel/framework 7.7.0
composer require laravel/framework 7.7.0
composer require laravel/framework 5.2.*
composer require --update-with-dependencies laravel/framework 7.7.0 


composer update --with-all-dependencies

composer update --with-dependencies laravel/framework 6.*

composer require --update-with-dependencies mews/captcha 
composer require --update-with-dependencies laravel/tinker

composer require --update-with-dependencies nesbot/carbon 
nesbot/carbon


Generating optimized autoload files
Carbon 1 is deprecated, see how to migrate to Carbon 2.
https://carbon.nesbot.com/docs/#api-carbon-2
    You can run './vendor/bin/upgrade-carbon' to get help in updating carbon and other frameworks and libraries that depend on it.
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover
Discovered Package: fideloper/proxy
Discovered Package: intervention/image
Discovered Package: laravel/tinker
Discovered Package: mews/captcha
Discovered Package: nesbot/carbon
Package manifest generated successfully.
12 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

                                             
symfony/polyfill-intl-idn suggests installing ext-intl (For best performance)
symfony/event-dispatcher-contracts suggests installing psr/event-dispatcher
Package jakub-onderka/php-console-color is abandoned, you should avoid using it. Use php-parallel-lint/php-console-color instead.
Package jakub-onderka/php-console-highlighter is abandoned, you should avoid using it. Use php-parallel-lint/php-console-highlighter instead.
Package mtdowling/cron-expression is abandoned, you should avoid using it. Use dragonmantank/cron-expression instead.
Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.